package ycl.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;

/**
 * <p>
 * 国家表
 * </p>
 *
 * @author ycl
 * @since 2022-06-22 20:06:26
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("country")
@ApiModel(value = "Country对象", description = "国家表")
public class Country extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("国家名字")
    @TableField("name")
    private String name;

    @ApiModelProperty("国家代码")
    @TableField("code")
    private String code;

    @TableField("name_en")
    private String nameEn;

    @TableField("name_pinyin")
    private String namePinyin;


}
